<?php

if(!isset($_SESSION['player'])){
	header('Location: index.php?p=home');	
}

foreach($_SESSION as $key => $value){
	if($key != 'localisation'){
		unset($_SESSION[$key]);	
	}
}

header('Location: index.php?p=home');

?>